/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ruteodosciudades.algoritmo.extra;

/**
 *
 * @author markos
 */
public class NodoImg {
    private int x, y;
    private Nodo nodo;


    public NodoImg(){}
    public NodoImg(Nodo nodo, int x, int y){
        this.nodo = nodo;
        this.x = x;
        this.y = y;
    }
    public Nodo getNodo() {
        return nodo;
    }

    public void setNodo(Nodo nodo) {
        this.nodo = nodo;
    }
    

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    
    public boolean equals(NodoImg nImg){
        return nodo.equals(nImg.nodo);
    }
    
}
